import com.lijinjiang.beautyeye.BeautyEyeLNFHelper;

import javax.swing.*;

/**
 * @ClassName Demo01
 * @Description TODO
 * @Author Li
 * @Date 2022/9/13 11:06
 * @ModifyDate 2022/9/13 11:06
 * @Version 1.0
 */
public class Demo01 {
    public static void main(String[] args) {
        try {
            BeautyEyeLNFHelper.frameBorderStyle = BeautyEyeLNFHelper.FrameBorderStyle.generalNoTranslucencyShadow;
            BeautyEyeLNFHelper.launchBeautyEyeLNF();
        } catch (Exception e) {
            e.printStackTrace();
        }
        JWindow window = new JWindow();
        window.setLayout(null); // 设置为空布局
        JLabel label = new JLabel("这是一个测试的JWindow窗口");
        window.add(label);
        label.setBounds(120, 130, 160, 30);
        window.setSize(400, 300); // 设置大小
        window.setLocationRelativeTo(null); // 相对屏幕居中
        window.setVisible(true); // 设置可见
    }
}
